//
//  UIButton+RAC.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/26.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (RAC)

/**
 *  rac 创建button
 *
 *  @param image      normal 背景图
 *  @param hImage     high 背景图
 *  @param title      normal title
 *  @param hTitle     high title
 *  @param completion 单击target 关联的block
 *
 *  @return UIButton对象
 */
+ (UIButton *)rac_createButtonForBackgroundImage:(UIImage *)image withHighImage:(UIImage *)hImage title:(NSString *)title highTitle:(NSString *)hTitle signalCompletion:(void(^)(id x))completion;

@end
